package excercise;

public class EX03_030 {

	public static void main(String[] args) {

		String result = "";
		result += "\t\t\tMutiplication Table" + "\n";
		result += "\t1\t2\t3\t4\t5\t6\t7\t8\t9" + "\n";
		result += "----------------------------------------------------" + "\n";

		for (int i = 1; i <= 9; ++i) {
			result += " " + i + " | ";
			for (int j = 1; j <= 9; ++j) {
				result += "\t" + i * j + " ";
			}
			result += "\n";
		}
		System.out.print(result);
		System.out
				.println("----------------------------------------------------");
	}

}
